#ifndef __BOARD_H__
#define __BOARD_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>

#define CPU_FREQ 64000000

void assert_failed(uint8_t *file, uint32_t line);
void board_init(void);

void delay_us(unsigned long __us);
void delay_ms(unsigned long ms);
void delay_1us(unsigned long __us);
void delay_1ms(unsigned long ms);

#ifdef __cplusplus
}
#endif

#endif